package com.treasure.mall.biz.repository.auction;

import com.treasure.mall.biz.base.JpaSearchableRepository;
import com.treasure.mall.biz.entity.auction.AuctionBidLogPO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/7/16
 */
@Repository
public interface AuctionBidLogRepository extends JpaSearchableRepository<AuctionBidLogPO, Long> {

    Page<AuctionBidLogPO> findBySessionIdOrderByCreateTimeDesc(Long sessionId, Pageable pageable);
}
